import Table from "./table";
import Form from "./form";
import Render from "./render";

const components = {
    Table,
    Form,
    Render
}

const install = function (Vue){
    if(install.installed)return;
    Object.keys(components).forEach((key) => {
        console.log(components[key].name)
        Vue.component(components[key].name,components[key])
    })
}

const API = {
    install
}
export default API
